package com.angel.core.util;

import java.util.List;
import java.util.Map;

public class Pager {

	//当前页
	private Integer currentPage = 1;
	
	//每页记录数
	private Integer pageSize = 10;
	
	//总记录数
	private Long total;
	
	//总页数
	private Integer totalPages;
	
	//封装请求参数
	private String params;
	
	public String getParams() {
		return params;
	}

	public void setParams(String params) {
		this.params = params;
	}

	//结果集
	private List<Map<String, Object>> list;

	public Integer getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(Integer currentPage) {
		this.currentPage = currentPage;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public Integer getTotalPages() {
		return totalPages;
	}

	public void setTotalPages(Integer totalPages) {
		this.totalPages = totalPages;
	}

	public List<Map<String, Object>> getList() {
		return list;
	}

	public void setList(List<Map<String, Object>> list) {
		this.list = list;
	}
	
}
